// import util from 'core/util';
export const CONFIG_SET = 'CONFIG_SET'
export default {
  state: {
    data: {
      pageData: [],
      pageInfo: {

      },
      moduleList: []
    }
  },
  mutations: {
    [CONFIG_SET] (state, pageData) {
    // localStorage.setItem('user', util.base64Encode(JSON.stringify(user)));
      state.data = Object.assign({}, state.data, pageData)
      window.pageData = state.data;
    }
  }
}
